<template>
<view class="home">
    <map style="width: 100%; height: 300px;" :latitude="latitude" :longitude="longitude" :markers="covers">
    </map>
</view>
</template>

<script>
export default {
  name: 'index',
  title: '首页',
  data(){
    return {
      id:0,
      title: 'map',
      latitude: 39.909,
      longitude: 116.39742,
      covers: [{
        latitude: 39.909,
        longitude: 116.39742,
      }, {
        latitude: 39.90,
        longitude: 116.39,
      }]
    }
  }
}
</script>

<style scoped>

</style>
